import { http, download } from '../../apis/request'
// this.prototype.$http = http;
const request = http
let agreement = {
    //获取协议
    getAgreement(type){
      return request("/other/getAgreement", {type})
    },
    //修改协议
    updateAgreement(type, content){
      return request("/other/updateAgreement", {type, content})
    },
}
export default agreement